package model;

import java.io.Serializable;

public class Statistics implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int CallHour[] = new int[24], SmsHour[] = new int[24];
	private int smsnum = 0, callnum = 0;

	public int getSmsnum() {
		return smsnum;
	}

	public int increaseSmsnum() {
		return smsnum++;
	}

	public void setSmsnum(int smsnum) {
		this.smsnum = smsnum;
	}

	public int getCallnum() {
		return callnum;
	}

	public int increaseCallnum() {
		return callnum++;
	}

	public void setCallnum(int callnum) {
		this.callnum = callnum;
	}

	public Statistics() {
		super();
	}

	public int[] getCallHour() {
		return CallHour;
	}

	public void setCallHour(int[] callHour) {
		CallHour = callHour;
	}

	public int[] getSmsHour() {
		return SmsHour;
	}

	public int increaseCallHour(int hour) {
		return CallHour[hour]++;
	}

	public int increaseSmsHour(int hour) {
		return SmsHour[hour]++;
	}

	public void setSmsHour(int[] smsHour) {
		SmsHour = smsHour;
	}

}
